/**
 * @author     Gabor Greif <ggreif@gmail.com>
 * @copyright  2009-2010 Gabor Greif
 * @license    http://www.opensource.org/licenses/mit-license.php  MIT License
 * @version    Release: 0.0
 */

#ifndef micker_CIF_hpp
#define micker_CIF_hpp

#include "CommandMap.hpp"

namespace micker {

struct If : Comm<CommandMap&>
{
    If(Env::from val)
    : Comm<CommandMap&>(ArgumentsMismatch<3>::proc<Env, proc>, val)
    {}

    static std::string proc(Pref env, const std::string& cond, const std::string& thenArm, const std::string& elseArm)
    {
        return "";
    }
};

} // namespace micker

#endif // micker_CIF_hpp
